import ajax from "./ajax/axios";

export default {
  list: function(data) {
    return ajax({
      url: "/company_to_web/device_list",
      method: "post",
      data: data
    });
  },
  bind: function(data) {
    return ajax({
      url: "/company_to_web/bind",
      method: "post",
      data: data
    });
  },
  unbind: function(data) {
    return ajax({
      url: "/company_to_web/unbind/",
      method: "post",
      data: data
    });
  }
};
